/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2021-11-20     great_master       the first version
 */
#ifndef APPLICATIONS_HUMIDITY_H_
#define APPLICATIONS_HUMIDITY_H_
#include <stdint.h>
#include "ifp_def.h"

typedef struct
{
    float vol;
    uint8_t humidity;
}vol_humidity_tab_t;

void get_current_humidity(uint8_t *humidity);

int adc_vol_sample(float *vol);

int humidity_init(void);

#endif /* APPLICATIONS_HUMIDITY_H_ */
